package com.alen.sun.service;

import com.alen.sun.bean.Elderly;
import com.alen.sun.bean.PageBean;
import com.sun.org.apache.xpath.internal.operations.Bool;

import java.util.List;

public interface ElderlyService {

    Elderly login(Elderly elderly);

    Boolean add(Elderly elderly);

    List<Elderly> getElderlysForEmployee(String id);

    Elderly getById(String id);

    Boolean delete(String id);

    Boolean update(Elderly elderly);

    PageBean page(Integer page, Integer pageSize, String word);

    Boolean deleteByIds(List<String> ids);
}
